import json

# 读取配置文件
def read_config(file_path):
    with open(file_path, 'r') as file:
        config = json.load(file)
    return config

def get_config_from_api_para(name):
    config = read_config('config.json')
    return config['api'][name]
